#include<iostream>
#include<conio.h>
class Polygon{
protected:
	int width;
	int height;
public:
	void setValues(int a, int b);
};
class Rectangle :public Polygon{
public:
	int area;
};
class Triangle :public Polygon{
public:
	int area;
};